package com.atguigu.mybatisplus.mapper;

import com.atguigu.mybatisplus.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.util.List;

/**
 * Description:
 *
 * @ author: ChiPu
 * date: 2021/11/13 19:49
 */
public interface UserMapper extends BaseMapper<User>{
    List<User> selectAllByName(String name);

    IPage<User> selectPageByPage(Page<?> page, Integer age);
}
